#include <iostream>
using namespace std;
int main()
{
bool flag;
int year;
cout <<"请输入一个年份：";
cin>>year;
if((year%4==0&&year%100!=0)||year%400==0)
flag=true;
else
flag=false;
if(flag)
cout <<year<<"是闰年"<<endl;
else
cout <<year<<"是平年"<<endl;
return 0; 	
}
